package com.zyht.bank.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zyht.common.BaseServiceImpl;
import com.zyht.common.BaseDao;
import com.zyht.bank.dao.AxdCertificateNoticesMapper;
import com.zyht.bank.entity.AxdCertificateNotices;
import com.zyht.bank.entity.AxdCertificateNoticesExample;
import com.zyht.bank.manage.dao.AxdCertificateNoticesVoMapper;
import com.zyht.bank.service.AxdCertificateNoticesService;

@Service("axdCertificateNoticesService")
public class AxdCertificateNoticesServiceImpl extends BaseServiceImpl<AxdCertificateNotices, AxdCertificateNoticesExample> implements AxdCertificateNoticesService {

	@Resource
	private AxdCertificateNoticesMapper axdCertificateNoticesMapper;
	

	@Resource
	private AxdCertificateNoticesVoMapper axdCertificateNoticesVoMapper;
	
	@Override
	public BaseDao<AxdCertificateNotices, AxdCertificateNoticesExample> dao(){

		return axdCertificateNoticesMapper;
	}

	@Override
	public int findaxdCertificateNoticesCount(String custName) {
		// TODO Auto-generated method stub
		return axdCertificateNoticesVoMapper.findaxdCertificateNoticesCount(custName);
	}

	@Override
	public List<AxdCertificateNotices> findaxdCertificateNotices(String custName) {
		// TODO Auto-generated method stub
		return axdCertificateNoticesVoMapper.findaxdCertificateNotices(custName);
	}
}
